﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Walkmen.ID3v2
{
    public class ID3v2FrameCollection: List<ID3v2Frame>
    {
        public bool ContainsFrame(string frameId)
        {
            foreach (ID3v2Frame frame in this)
            {
                if (frame.FrameId == frameId)
                {
                    return true;
                }
            }
            return false;
        }
    }
}
